package com.xd.user.controller;


import com.xd.common.base.BaseController;
import com.xd.user.api.entity.DepartmentHeader;
import com.xd.user.api.feign.DepartmentHeaderClient;
import com.xd.user.service.DepartmentHeaderService;
import org.springframework.web.bind.annotation.*;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;

/**
 * 部门负责人(DepartmentHeader)表控制层
 *
 * @author hbx
 * @since 2020-06-28 12:37:15
 */
@RestController
@RequestMapping("departmentHeader")
@Transactional(rollbackFor = Exception.class)
public class DepartmentHeaderController extends BaseController<DepartmentHeaderService, DepartmentHeader,String> implements DepartmentHeaderClient {

    @Resource
    private DepartmentHeaderService DepartmentHeaderService;

}
